var oschat = {
	version: "0.0.1"
};

oschat.win = (function(){
	return {
		init: function(){
			oschat.win.viewEventBind();
		},
		
		viewEventBind:function(){
			$('.login-btn').click(function(){
				var username = $("#username").val();
				var password = $("#password").val();
				if(username==""){
					alert("用户名不能为空！");
				}else{
					
				}
			});
		},
		
		login:function(){
			
		}
	}
})();